package cn.itcast.com.exception;

public class demo3 {
    public static void main(String[] args) {
        try{
            int i = 1;
            int j = i/0;

        }catch (ArithmeticException e){
            System.out.println(e.getMessage());
            System.out.println(e.toString());
            e.printStackTrace();
        }
    }
}
